package com.aop;

import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class MyTest {
	AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(MyComfigAop.class);

	@Test
	public void t1() {
		Computer computer = applicationContext.getBean(Computer.class);
		computer.com();
	}

}
